package com.wego.mapper;

import com.wego.domain.entity.Strategy;
import com.wego.domain.query.StrategyQuery;
import com.wego.domain.vo.StrategyVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StrategyMapper {
    int deleteByIds(List<Integer> ids);

    int insertSelective(Strategy record);

    Strategy selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Strategy record);

    int batchInsert(@Param("list") List<Strategy> list);

    List<Strategy> selectWithCondition(StrategyQuery strategyQuery);

    List<StrategyVO> selectAllNameWithCondition(StrategyQuery strategyQuery);
}